﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace DCH.Areas.Admin.Models
{
    [Table("Tournament")]
    public class Tournament
    {
        [Key]
        public int ID { get; set; }
        [Required]
        public string team1_name { get; set; }
        public string team1_score { get; set; }
        public string team1_score_card { get; set; }
         [Required]
        public string team2_name { get; set; }
        public string team2_score { get; set; }
        public string team2_score_card { get; set; }
        public string Winner { get; set; }
        [DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public DateTime Date { get; set; }
        public string Venue { get; set; }
        public string Highlight { get; set; }

       
        
        
    }
}